Xbasic
SYS_EVENT_LOG Function
Syntax
V SYS_EVENT_LOG(C Application,C event)
Arguments
- Application
The name of your application.
- event
- "E" = error
- "W" = warning
- "I" = information
- "S" = success
- "F" = failure
Description
The SYS_EVENT_LOG() function logs events into the Windows NT system log. Under NT based systems, log events to the system log - event messages format has optional <Flag>: prefix where <Flag> is E=error,W=Warning,I=Info,S=Success,F=Failure. other options - E=<event#>,C=<Category#>
Example
sys_event_log("Alpha Anywhere Application Server","I:The server has started")
Limitations
Desktop applications only.
See Also